package com.songshuai.webapi.gateway;

import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;
import com.spring4all.swagger.EnableSwagger2Doc;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * Created by yubo on 2018/12/11.
 */
@SpringBootApplication
@EnableZuulProxy
@EnableEurekaClient
@EnableSwagger2Doc
@EnableApolloConfig
public class GatewayServiceApplication {
	public static void main(String[] args) {
		System.setProperty("apollo.configService", "http://118.25.41.11:8080");
		SpringApplication.run(GatewayServiceApplication.class, args);
	}
}

